package io.lvdaxian.factoryBean;

import io.lvdaxian.factoryBean.po.User;
import org.springframework.beans.factory.FactoryBean;

public class UserInstance implements FactoryBean<User> {
  
  @Override
  public User getObject() throws Exception {
    return new User("lihh");
  }
  
  @Override
  public Class<?> getObjectType() {
    return User.class;
  }
}
